import ajax from '../api/ajax'
//宠物列表
export const petindex = (data)=>ajax("/api/base/product",data,"GET")
//购买宠物
export const buypet = (data)=>ajax("/api/base/product_buy",data,"POST")
//宠物详情
export const petdetail = (data)=>ajax("/api/base/product_detail",data,"GET")
//置顶公告
export const top = (data)=>ajax("/api/base/notices/top",data,"GET")
//收益记录
export const profitlogs= (data)=>ajax("/api/base/gain_logs",data,"GET")
//版本更新
export const versions = (data)=>ajax("/api/base/versions",data,"GET")
//宠物秒杀活动列表
export const petActIndex = (data)=>ajax("/api/base/product_activity",data,"GET")
//宠物秒杀活动详情
export const petActDetail = (data)=>ajax("/api/base/product_activity_detail",data,"GET")